Hello, Original message is at the bottom. I did receive only one response about changing Views which wasn't really what I wanted. I don't want to create another docGUI for each View..... But I did manage to get my script working ..... and knock on wood (knock, knock) ... no segmentation violations in the last few weeks. The segmentation violations had nothing to do with the button not being there after execution was done. Anyway, thanks again to the one person who responded. (I cannot find the one person's name, I must have deleted it .... but they know who they are). Colleen ********* Original Question ***************************************************** Hi Everyone on the list, I have a little problem I am hoping someone can help with. I have several views. Each of these views have different GUIs. I do NOT want (if possible) to have to create separate docGUI's for each view (doc). I have 99% of everything working. 1. I have a view 2. I click a button .. which the scripting switches to another view and changes the gui interface (different buttons and tools appear) 3. The script also calls other scripts (delete certain themes, delete any graphics, etc.) 4. So all scripts are executed and everything works fine, until the very end ... I get a 'segmentation violation', I click OK and everything works OK. Now I am assuming that the segmentation violation occurs because the scripts all fall back to the beginning script, which is associated to a button ... a button that no longer exists because I have changed the GUI (tools and buttons). Again, I am assuming the segmentation violation because there no more button. I know that there must be some link between the button and the script. But why should it matter if the button is no longer there anymore? Don't the scripts run independently? I also know that the scripts always end up with the calling (beginning) script, so why does it matter if the button is there? Is there a fix? Am I doing something wrong? Is there a way to exit programs without going back to the calling scripts? ********* End of Original Question *********************************************** Thanks Colleen Martin colleen@sngeo.com